package com.isman.jackson.hibernate4;

import com.google.appengine.repackaged.org.codehaus.jackson.map.JsonSerializer;
import com.google.appengine.repackaged.org.codehaus.jackson.map.SerializationConfig;
import com.google.appengine.repackaged.org.codehaus.jackson.map.introspect.BasicBeanDescription;
import com.google.appengine.repackaged.org.codehaus.jackson.map.ser.BeanSerializerModifier;

public class HibernateSerializerModifier extends BeanSerializerModifier {
	protected final int _features;

	public HibernateSerializerModifier(int features) {
		_features = features;
	}

	/*
	 * @Override public JsonSerializer<?> modifySerializer(SerializationConfig
	 * config, BeanDescription beanDesc, JsonSerializer<?> serializer) { return
	 * serializer; }
	 */
	
	
//	@Override
//	public JsonSerializer<?> modifySerializer(SerializationConfig config, BasicBeanDescription beanDesc, JsonSerializer<?> serializer) {
//		return new PersistentCollectionSerializer(serializer, _features);
//	}

//	@Override
//	public JsonSerializer<?> modifyCollectionSerializer(
//			SerializationConfig config, CollectionType valueType,
//			BeanDescription beanDesc, JsonSerializer<?> serializer) {
//		return new PersistentCollectionSerializer(serializer, _features);
//	}
//
//	@Override
//	public JsonSerializer<?> modifyMapSerializer(SerializationConfig config,
//			MapType valueType, BeanDescription beanDesc,
//			JsonSerializer<?> serializer) {
//		return new PersistentCollectionSerializer(serializer, _features);
//	}
}
